﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Harkon.AppServer.cOne.DataAccess
{
    public class PkPropertyAttribute : PropertyAttribute
    {
        public override EntityProperty CreateEntityProperty()
        {
            return new EntityPkProperty
            {
                Name = Name,
                Value = DefaultValue(PropertyType)
            };
        }
    }
}
